<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>打印出直角三角形</title>
    <style>
        a{
            color: #c01900;
            text-decoration: none;
        }
    </style>
</head>
<body>
<a href="打印九九乘法表.html">打印九九乘法表</a>
<br/>
<br/>
<script>
    for (var i=1;i<=9;i++){
        for (var j=1;j<=i;j++) {
            document.write("*"+" ");
        }
        document.write("<br/>");
    }
</script>
</body>
</html>